Research
Security News
Threat Actor Exposes Playbook for Exploiting npm to Build Blockchain-Powered Botnets
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
@spectrum-web-components/styles
Advanced tools
Spectrum Web Components are a [`LitElement`](https://lit-element.polymer-project.org)-powered web component library of patterns built on top of the [Spectrum CSS](https://opensource.adobe.com/spectrum-css) specification. Styles for these components are ma
Spectrum Web Components are a LitElement
-powered web component library of patterns built on top of the Spectrum CSS specification. Styles for these components are made available (and, in some cases, customizable) via CSS Custom Properties, e.g. var(--spectrum-black)
. In this package, you will find the CSS Custom Properties that power the various color and size themes defined by Spectrum CSS.
The easiest way to consume these values is via the <sp-theme>
element. However, in some cases, it can be useful to have direct access to the files outlining the CSS Custom Properties, on top of which the rest of the component system is built.
yarn add @spectrum-web-components/styles
@import '@spectrum-web-components/styles/all-medium-darkest.css';
This file brings together the global variables and font settings with the "Darkest" color set and "Medium" scale system specification.
@import '@spectrum-web-components/styles/all-medium-dark.css';
This file brings together the global variables and font settings with the "Dark" color set and "Medium" scale system specification.
@import '@spectrum-web-components/styles/all-medium-light.css';
This file brings together the global variables and font settings with the "Light" color set and "Medium" scale system specification.
@import '@spectrum-web-components/styles/all-medium-lightest.css';
This file brings together the global variables and font settings with the "Lightest" color set and "Medium" scale system specification.
@import '@spectrum-web-components/styles/all-large-darkest.css';
This file brings together the global variables and font settings with the "Darkest" color set and "Large" scale system specification.
@import '@spectrum-web-components/styles/all-large-dark.css';
This file brings together the global variables and font settings with the "Dark" color set and "Large" scale system specification.
@import '@spectrum-web-components/styles/all-large-light.css';
This file brings together the global variables and font settings with the "Light" color set and "Large" scale system specification.
@import '@spectrum-web-components/styles/all-large-lightest.css';
This file brings together the global variables and font settings with the "Lightest" color set and "Large" scale system specification.
@import '@spectrum-web-components/styles/theme-darkest.css';
This file provides only the variables needed to power a color palette featuring colors found in the "Darkest" theme.
@import '@spectrum-web-components/styles/theme-dark.css';
This file provides only the variables needed to power a color palette featuring colors found in the "Dark" theme.
@import '@spectrum-web-components/styles/theme-light.css';
This file provides only the variables needed to power a color palette featuring colors found in the "Light" theme.
@import '@spectrum-web-components/styles/theme-lightest.css';
This file provides only the variables needed to power a color palette featuring colors found in the "Lightest" theme.
@import '@spectrum-web-components/styles/scale-medium.css';
This file provides only the variables needed to power the "Medium" scale system specification.
@import '@spectrum-web-components/styles/scale-large.css';
This file provides only the variables needed to power the "Large" scale system specification.
@import '@spectrum-web-components/styles/typography.css';
This file provides a lit-html
compliant version of the Spectrum Typography classes.
0.42.5 (2024-05-24)
FAQs
Spectrum Web Components are a [`LitElement`](https://lit-element.polymer-project.org)-powered web component library of patterns built on top of the [Spectrum CSS](https://opensource.adobe.com/spectrum-css) specification. Styles for these components are ma
The npm package @spectrum-web-components/styles receives a total of 9,386 weekly downloads. As such, @spectrum-web-components/styles popularity was classified as popular.
We found that @spectrum-web-components/styles demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
Security News
NVD’s backlog surpasses 20,000 CVEs as analysis slows and NIST announces new system updates to address ongoing delays.
Security News
Research
A malicious npm package disguised as a WhatsApp client is exploiting authentication flows with a remote kill switch to exfiltrate data and destroy files.